package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.SwimmingTicketType;

import java.util.List;

/**
 * 泳票类型Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface ISwimmingTicketTypeService 
{
    /**
     * 查询泳票类型
     * 
     * @param id 泳票类型ID
     * @return 泳票类型
     */
    public SwimmingTicketType selectSwimmingTicketTypeById(Long id);

    /**
     * 查询泳票类型列表
     * 
     * @param swimmingTicketType 泳票类型
     * @return 泳票类型集合
     */
    public List<SwimmingTicketType> selectSwimmingTicketTypeList(SwimmingTicketType swimmingTicketType);

    /**
     * 新增泳票类型
     * 
     * @param swimmingTicketType 泳票类型
     * @return 结果
     */
    public int insertSwimmingTicketType(SwimmingTicketType swimmingTicketType);

    /**
     * 修改泳票类型
     * 
     * @param swimmingTicketType 泳票类型
     * @return 结果
     */
    public int updateSwimmingTicketType(SwimmingTicketType swimmingTicketType);

    /**
     * 批量删除泳票类型
     * 
     * @param ids 需要删除的泳票类型ID
     * @return 结果
     */
    public int deleteSwimmingTicketTypeByIds(Long[] ids);

    /**
     * 删除泳票类型信息
     * 
     * @param id 泳票类型ID
     * @return 结果
     */
    public int deleteSwimmingTicketTypeById(Long id);
}
